<template>
	<div class="box">
		<div class="recommendHeader">
			<img src="../assets/imgs/goods-recommend/tuijianlogo.png" alt="">
		</div>
		<div class="recommendList">
			<div class="recommendBox">
				<div class="logo-tu">
					<img src="../assets/imgs/goods-recommend/tuijian1.png" alt="">
				</div>
				<p class="biaoti">Yeelight时光吊灯</p>
				<p class="price">￥<span>299</span></p>
				<div class="box-buttom">
					<span class="mingzi">吊灯榜</span>
					<span class="anniu"><span class="iconfont icon-icon"></span></span>
				</div>
			</div>
			<div class="recommendBox">
				<div class="logo-tu">
					<img src="../assets/imgs/goods-recommend/tuijian2.png" alt="">
				</div>
				<p class="biaoti">iHealth非接触式红外体温计</p>
				<p class="price">￥<span>159</span></p>
				<div class="box-buttom">
					<span class="mingzi">智能榜</span>
					<span class="anniu"><span class="iconfont icon-icon"></span></span>
				</div>
			</div>
			
		</div>
		
	</div>
</template>

<script>
	export default{
		name:"recommend",
		data:function(){
			return{
				
			}
		}
	}
</script>

<style scoped>
	.box{
		width: 100%;
		background-color: #021937;
	}
	.recommendHeader{
		width: 100%;
		/* height: 0.585rem; */
		height: 20%;
	}
	.recommendHeader img{
		width: 100%;
	}
	.recommendList{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		padding: 0 0.06rem;
		box-sizing: border-box;
	}
	.recommendBox{
		/* width: 1.71rem; */
		height: 2.3rem;
		width: 47%;
		background-color: #fff;
		border-radius: 0.06rem;
		margin-bottom: 0.1rem;
	}
	/* 商品图 */
	.logo-tu{
		/* width: 1.71rem; */
		width: 100%;
		/* height: 1.71rem; */
		height: 62.2%;
	}
	.logo-tu img{
		width: 100%;
		height: 100%;
	}
	.recommendBox .biaoti{
		font-size: 0.15rem;
		color: #333;
		width: 1.53rem;
		height: 0.2rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		margin-left: 0.08rem;
	}
	.recommendBox .price{
		font-size: 0.13rem;
		color: #E30D0D;
		font-weight: bold;
		margin: 0.03rem 0 3px 6px;
	}
	.recommendBox .price span{
		font-size: 0.17rem;
	}
	.recommendBox .box-buttom{
		width: 100%;
		/* height: 0.4rem; */
		height: 18%;
		font-size: 0.15rem;
		color: #804409;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: linear-gradient(to right, #FCEED9,40% ,#FFE4BD 60%);
		/* padding: 0 0.09rem; */
		padding: 0 3%;
		box-sizing: border-box;
		border-radius: 0rem 0px 6px 6px;
	}
	.recommendBox .box-buttom .anniu{
		width: 0.16rem;
		height: 0.16rem;
		border-radius: 50%;
		background-color: #D9B075;
		position: relative;
	}
	.recommendBox .box-buttom .icon-icon{
		opacity: .6;
		color: #fff;
		font-size: 0.1rem;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
</style>
